from impala.dbapi import connect

conn = connect(host='10.16.3.160', port=21050)
cur = conn.cursor()

cur.execute('SHOW TABLES')
for row in cur:
    print(row[0])
cur.fetchall()